import { axios } from '@/utils/request'

export function queryStudentCourse (parameter) {
  return axios({
    url: '/studentTeacherCourse/query',
    method: 'post',
    data: parameter
  })
}

export function examineStuChose (parameter) {
  return axios({
    url: '/studentTeacherCourse/examineStuChose',
    method: 'post',
    data: parameter
  })
}
// 以下均未使用
export function queryStudentCourseNew (parameter) {
  return axios({
    url: '/studentTeacherCourse/queryNew',
    method: 'post',
    data: parameter
  })
}

export function addStudentCourse (parameter) {
  return axios({
    url: '/studentTeacherCourse/add',
    method: 'post',
    data: parameter
  })
}

export function addStudentCourseList (parameter) {
  return axios({
    url: '/studentTeacherCourse/addList',
    method: 'post',
    data: parameter
  })
}

export function editStudentCourse (parameter) {
  return axios({
    url: '/studentTeacherCourse/update',
    method: 'post',
    data: parameter
  })
}

export function removeStudentCourse (parameter) {
  return axios({
    url: '/studentTeacherCourse/remove',
    method: 'post',
    data: parameter
  })
}

export function queryTeacherCourse (parameter) {
  return axios({
    url: '/studentTeacherCourse/queryTeacherCourse',
    method: 'post',
    data: parameter
  })
}
